package com.hyt.it.ogt.pj.data.service.pj.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hyt.core.base.BaseServiceImpl;
import com.hyt.it.ogt.pj.data.mapper.pj.PieceScoreMapper;
import com.hyt.it.ogt.pj.data.model.entity.pj.PieceScore;
import com.hyt.it.ogt.pj.data.service.pj.IPieceScoreService;

/**
 * <p>
 * 评卷块分数表 服务实现类
 * </p>
 *
 * @author qiaozj
 * @since 2020-07-09
 */
@Service
public class PieceScoreServiceImpl extends BaseServiceImpl<PieceScoreMapper, PieceScore> implements IPieceScoreService {
	
	 @Autowired
	 private PieceScoreMapper pieceScoreMapper;
	
	@Override
	public PieceScore selectPieceScoreBySubjectIdAndTaskIdAndEncodeIdAndUserId(String subjectId, String pieceId, String taskId, String encodeId, String userId) {
		return pieceScoreMapper.getByPieceIdAndTaskIdAndEncodeId( subjectId,  pieceId,  taskId,  encodeId,  userId);
	}

    

	
}
